using System;

namespace JK.EventRouter.Threading
{
    public class CrossThreadException : Exception
    {
        private readonly Exception _originalException;

        public Exception OriginalException
        {
            get { return _originalException; }
        }

        public CrossThreadException(Exception exception)
        {
            _originalException = exception;
        }
    }
}